package web.req;

import common.consts.Consts;
import web.Request;

import javax.validation.constraints.NotNull;

/**
 * Created by aceyin on 15/7/9.
 */
public class GeoRequest extends Request {
    private String province;
    private String city;
    private String district;
    private String street;
    @NotNull(message = Consts.i18nKey.GEO_LONGTITUDE_IS_REQUIRED)
    private Double longitude;
    @NotNull(message = Consts.i18nKey.GEO_LATITUDE_IS_REQUIRED)
    private Double latitude;

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longtitude) {
        this.longitude = longtitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }
}
